﻿using ProtoBuf;

namespace Remoting.Reactive.ProtoBuf
{
    [ProtoContract]
    [ProtoInclude(1, typeof(MemberAssignmentDto))]
    [ProtoInclude(2, typeof(MemberListBindingDto))]
    [ProtoInclude(3, typeof(MemberMemberBindingDto))]
    public abstract class MemberBindingDto
    {
        [ProtoMember(1)]
        public MemberBindingTypeDto BindingType { get; set; }
        [ProtoMember(1)]
        public MemberInfoDto Member { get; set; }
    }
}
